<?php

namespace App\Http\Controllers;

use Location;
use Payment;
use App\User;
use Illuminate\Support\Facades\Storage;

class SiteController extends Controller
{
    public function home()
    {
        return view('home')->with([
            'country' => Location::getCountry(),
            'ip' => Location::getIp(),
            'language' => Location::getLanguage(),
            'payment' => Payment::getPaymentMethod(),
            'message' => rand(0, 1) ? '' : 'This is a simple hero unit, a simple jumbotron-style component '
                . 'for calling extra attention to featured content or information.',
            'name' => 'loko',
            'age' => '22',
            'title' => __FUNCTION__,
        ]);
    }
}
